g10: Fix symmetric cipher algo constant for ECDH.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 13 Mar 2019 00:12:14 +0000 (09:12 +0900)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000 (20:11 +0100)
commitfdfdc7d541de60a342ce139f7ebf12784b954675
treee1268c3ba6da10742d23d4a0f0f340757537c284
parent23ffff8d12e3eb56b5672cdee368c34948b21864
g10: Fix symmetric cipher algo constant for ECDH.

* g10/ecdh.c (kek_params_table): Use CIPHER_ALGO_AES192 for
ECC strength 384, according to RFC-6637.

--

Reported-by: Trevor Bentley
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit af3efd149f555d36a455cb2ea311ff81caf5124c)
(cherry picked from commit 38c2a9a644e0bc1e2594ea437a5930982f7b8c4e)

Gbp-Pq: Topic from-2.2.16
Gbp-Pq: Name g10-Fix-symmetric-cipher-algo-constant-for-ECDH.patch
g10/ecdh.c
scd/app-openpgp.c